package com.woniuxy.intellihome.entity;

import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 
 * </p>
 * 匹配了类名跟数据库对应的表名
 *   增加了id属性
 *   匹配了属性名和表中的列名
 * @author jobob
 * @since 2021-08-11
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Getter
@Setter
@TableName("m_region")
public class Region{


    private int id;

    private String name;

    private Integer pid;


}
